import java.util.HashMap;
import java.util.Objects;

public class User {
    private  Integer age;
    private String Name;


    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        User user = (User) o;
        return Objects.equals(age, user.age) &&
                Objects.equals(Name, user.Name) &&
                Objects.equals(Address, user.Address);
    }

    @Override
    public int hashCode() {
        return Objects.hash(age, Name, Address);
    }

    @Override
    public String toString() {
        return "User{" +
                "age=" + age +
                ", Name='" + Name + '\'' +
                ", Address='" + Address + '\'' +
                '}';
    }

    private String Address;

    public User(Integer age, String name, String address) {
        this.age = age;
        Name = name;
        Address = address;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public String getAddress() {
        return Address;
    }

    public void setAddress(String address) {
        Address = address;
    }

}
